<%@page import="org.apache.jasper.tagplugins.jstl.core.ForEach"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="model.User" import="java.util.List"%>

<%
String access_token="";
if(request.getAttribute("access_token")!=null)
{access_token = (String)request.getAttribute("access_token");}

Object o = request.getAttribute("data");
List<User> l = (List<User>) o;
%>
<html>
<body>
	<table>
		<%
			int i = 0;
			for (User f : l) {
		%>
		<tr>
		<td><img src="<%=f.getPic_square() %>"></td>
		<td><%=f.getName() %></td>
		<td><a href="FBUserPictures?uid=<%=f.getUid()%>&access_token=<%=access_token%>">[photos]</a></td>
		<td><a href="FBUserDetail?access_token=<%=f.getAccess_token()%>">[friends]</a></td>
		<td><a href="UserList?a=delete&uid=<%=f.getUid()%>">[delete]</a></td>
		</tr>
	
		<%
			}
		%>
	</table>
</body>
</html>

